package cn.stylefeng.guns.modular.business.frequency.cmprovince.model.param;

import cn.stylefeng.guns.core.pojo.base.param.BaseParam;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * cm_province
 *
 * @author yujie
 * @date 2023/05/09 17:17
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class CmProvinceParam extends BaseParam {

    /**
     * code
     */
    @NotNull(message = "code不能为空",groups = {edit.class})
    private Integer code;

    /**
     * name
     */
    @NotNull(message = "name不能为空",groups = {add.class,edit.class})
    private String name;

}
